package com.ai.pos.client;

import com.ai.pos.client.sales.models.SalesItem;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("SalesItemServlet")
public interface SalesItemService extends RemoteService {
	String SaveItem(SalesItem itemJson) throws IllegalArgumentException;
	String getItem(int itemJson) throws IllegalArgumentException;
	String getAllItems(String itemJson) throws IllegalArgumentException;
}
